<?php

namespace App\Http\Controllers\Admin;

use App\Repository\Admin\AdminUsersLogRepository;
use App\Repository\Commit\RoleRepository;
use App\Repository\SystemRepository;
use App\Repository\Commit\PositionRepository;
use Illuminate\Http\Request;
use App\Repository\UploadRepository;

/**
 * @OA\Tag(
 *     name="后台菜单模块",
 *     description="菜单模块",
 * )
 */
class AdminUsersLogController extends BaseController
{
  public function __construct(AdminUsersLogRepository $AdminUsersLogRepository)
  {
    $this->repoist = $AdminUsersLogRepository;
  }
  public function index(Request $Request)
  {
    $data = $this->repoist->index($Request);
    return $data;
  }
  //类型
  public function getType()
  {
    return [
      [
        'id' => 1,
        'value' => '入单'
      ],
      [
        'id' => 2,
        'value' => '订单状态',
      ],
      ['id' => 3, 'value' => '短信费用']
    ];
  }
}
